package ru.rchervot.sanasar.client.view;

import java.util.ArrayList;
import java.util.HashSet;

import ru.rchervot.sanasar.client.model.SearchResultsItem;

import com.google.gwt.event.dom.client.HasClickHandlers;

public interface ResultsPresenter extends Presenter {
	public interface Display extends Presenter.Display {
		public void updateItems(ArrayList<SearchResultsItem> items, int pageOffset);
		public HasClickHandlers getTable();
		public ArrayList<HasClickHandlers> getCheckBoxes();
		public HashSet<Integer> getSelectedRows();
		public void selectSingleRow(int row);
		public int getRowOffsetHeight(int row);
		public void showEmptyPage();
		public void showStartPage();
		public void resizeTable(int rows);
	}
}
